﻿using pbvs.Calculations;
using pbvs.Models;
using pbvs.Models.DomainModels;
using pbvs.Models.ViewModels;
using System.Collections.Generic;

namespace pbvs.Services.Interfaces
{
    public interface IPbvsService
    {
        Valuation PerformValuation(ValuationRequestDomainModel req);
        ValuationRequest LoadRequestFromViewModel(ValuationRequestDomainModel req);
        bool ValidateInputs(ValuationRequest req);
        void AddRequest(ValuationRequest req);
        int Save();
        bool ProcessValuationRequest(ValuationRequestDomainModel req);
        ValuationRequestDomainModel LoadValuation(int id);
        IEnumerable<ValuationRequestDomainModel> GetValuations();
    }
}
